/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atm.domain;


import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.PrePersist;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;

/**
 *
 * @author Abderahman
 */
@Entity
@Table(name = "DEPOSITTRANSACTION")
//@Inheritance(strategy=InheritanceType.JOINED)
/*@NamedQueries({
    @NamedQuery(name = "depositTransaction.findAll", query = "SELECT c FROM depositTransaction c"),
    @NamedQuery(name = "depositTransaction.findAllNew", query = "SELECT c FROM depositTransaction c WHERE c.status = 'New'"),
    @NamedQuery(name = "Client.findByClientId", query = "SELECT c FROM Client c WHERE c.clientId = :clientId"),
    @NamedQuery(name = "Client.findByName", query = "SELECT c FROM Client c WHERE c.name = :name"),
    @NamedQuery(name = "Client.findByEmail", query = "SELECT c FROM Client c WHERE c.email = :email")
})
*/
public class depositTransaction  implements Serializable {

    @Id
    @Basic(optional = false)
    @Column(name = "Item_ID")

    private Integer depositTransactionID;

    @Column(name = "ITEMTYPE")
    private String ItemType;

    @Column(name = "NAME", nullable=false)
    @NotNull
    private Boolean Approved=false;
}
